package com.jusyl.plana.back.demo;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;

@Controller
@Scope("prototype")   
public class BackDemo {
	
	@RequestMapping(value="/backDemo",method=RequestMethod.GET)
	public ModelAndView backDemo(String name,String password){
		System.out.println("Show something.");  

		ModelAndView mov=new ModelAndView();  
		mov.setViewName("backDemo_backDemo");  
		return mov;  
	}
}
